package com.mi.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Phone entity. @author MyEclipse Persistence Tools
 */

public class Phone implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String miaoshu;
	private String shipin;
	private String fenbianlv;
	private String qianzhisxt;
	private String houzhisxt;
	private String yunxingneicun;
	private String jishenneicun;
	private String xitong;
	private String dianchirongliang;
	private String wangluozhichi;
	private String jishencanshu;
  
	private Integer xiaoliang;
	private Double zuidijia;
	private Integer pinglunshu;
	private Phonebrand phonebrand;
	private Set phonecolors = new HashSet(0);
	private Set phonevsesions = new HashSet(0);
	
	public Phone() {
	}
	public Phone(String name, Double zuidijia) {
		this.name = name;
		this.zuidijia = zuidijia;
	}
	
	public Phone(String name, Double zuidijia, Integer pinglunshu) {
		super();
		this.name = name;
		this.zuidijia = zuidijia;
		this.pinglunshu = pinglunshu;
	}
	
	
	
	@Override
	public String toString() {
		return "Phone [id=" + id + "]";
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMiaoshu() {
		return miaoshu;
	}
	public void setMiaoshu(String miaoshu) {
		this.miaoshu = miaoshu;
	}
	public String getShipin() {
		return shipin;
	}
	public void setShipin(String shipin) {
		this.shipin = shipin;
	}
	public String getFenbianlv() {
		return fenbianlv;
	}
	public void setFenbianlv(String fenbianlv) {
		this.fenbianlv = fenbianlv;
	}
	public String getQianzhisxt() {
		return qianzhisxt;
	}
	public void setQianzhisxt(String qianzhisxt) {
		this.qianzhisxt = qianzhisxt;
	}
	public String getHouzhisxt() {
		return houzhisxt;
	}
	public void setHouzhisxt(String houzhisxt) {
		this.houzhisxt = houzhisxt;
	}
	public String getYunxingneicun() {
		return yunxingneicun;
	}
	public void setYunxingneicun(String yunxingneicun) {
		this.yunxingneicun = yunxingneicun;
	}
	public String getJishenneicun() {
		return jishenneicun;
	}
	public void setJishenneicun(String jishenneicun) {
		this.jishenneicun = jishenneicun;
	}
	public String getXitong() {
		return xitong;
	}
	public void setXitong(String xitong) {
		this.xitong = xitong;
	}
	public String getDianchirongliang() {
		return dianchirongliang;
	}
	public void setDianchirongliang(String dianchirongliang) {
		this.dianchirongliang = dianchirongliang;
	}
	public String getWangluozhichi() {
		return wangluozhichi;
	}
	public void setWangluozhichi(String wangluozhichi) {
		this.wangluozhichi = wangluozhichi;
	}
	public String getJishencanshu() {
		return jishencanshu;
	}
	public void setJishencanshu(String jishencanshu) {
		this.jishencanshu = jishencanshu;
	}
	public Integer getXiaoliang() {
		return xiaoliang;
	}
	public void setXiaoliang(Integer xiaoliang) {
		this.xiaoliang = xiaoliang;
	}
	public Double getZuidijia() {
		return zuidijia;
	}
	public void setZuidijia(Double zuidijia) {
		this.zuidijia = zuidijia;
	}
	public Phonebrand getPhonebrand() {
		return phonebrand;
	}
	public void setPhonebrand(Phonebrand phonebrand) {
		this.phonebrand = phonebrand;
	}
	public Set getPhonecolors() {
		return phonecolors;
	}
	public void setPhonecolors(Set phonecolors) {
		this.phonecolors = phonecolors;
	}
	public Set getPhonevsesions() {
		return phonevsesions;
	}
	public void setPhonevsesions(Set phonevsesions) {
		this.phonevsesions = phonevsesions;
	}
	public Integer getPinglunshu() {
		return pinglunshu;
	}
	public void setPinglunshu(Integer pinglunshu) {
		this.pinglunshu = pinglunshu;
	}
 
}